<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>后台管理中心</title>  
    <link rel="stylesheet" href="__ADMIN__/css/pintuer.css">
    <link rel="stylesheet" href="__ADMIN__/css/admin.css">
    <style type="text/css">
        .edi-h1-font{
            font-size:16px;
        }
    </style>
    <script src="__ADMIN__/js/jquery.js"></script>
</head>
<body style="background-color:#f2f9fd;">

<div class="header bg-main">
  <div class="logo margin-big-left fadein-top">
    <h1 class="edi-h1-font">
        {empty name="staff.sm_pic"}
        <img src="__ADMIN__/images/y.jpg" class="radius-circle rotate-hover" height="50" alt="" />
        {else /}
        <img src="/{$staff.sm_pic}" class="radius-circle rotate-hover" height="50" alt="" />
        {/empty}
    Hi&nbsp;<span style="color:red;font-size:14px;">{$staff.name}</span>
    欢迎来到后台管理中心</h1>
  </div>
  <div class="head-l">
      <a class="button button-little bg-green" href="{:url('index/index/index')}" target="_blank"><span class="icon-home"></span> 前台首页</a> &nbsp;&nbsp;
      <a href="#" id="clearCache" class="button button-little bg-blue"><span class="icon-wrench"></span> 清除缓存</a> &nbsp;&nbsp;
      <a class="button button-little bg-red" href="{:url('admin/login/logOut')}"><span class="icon-power-off"></span> 退出登录</a> </div>
</div>
<div class="leftnav">
  <div class="leftnav-title"><strong><span class="icon-list"></span>菜单列表</strong></div>

    <!---------------------------------------

    testbak区域


    ---------------------------------->
     <!--<h2><span class="icon-user"></span>后台管理员</h2>-->
    <!--<ul style="">-->
        <!--<li><a href="{:url('admin/staff/lst')}" target="right"><span class="icon-caret-right"></span>后台管理员</a></li>-->
    <!--</ul>-->

    <!--<h2><span class="icon-user"></span>会员管理</h2>-->
    <!--<ul style="">-->
        <!--<li><a href="{:url('admin/authen/lst')}" target="right"><span class="icon-caret-right"></span>会员管理</a></li>-->
    <!--</ul>-->

    <h2><span class="icon-pencil-square-o"></span>系统设置</h2>
    <ul>
        <!-- <li><a href="{:url('admin/type/lst')}" target="right"><span class="icon-caret-right">首页导航</span></a></li> -->
        <!-- <li><a href="{:url('admin/SearchWords/lst')}" target="right"><span class="icon-caret-right"></span>搜索设置</a></li> -->
        <li><a href="{:url('admin/contact/lst')}" target="right"><span class="icon-caret-right"></span>联系我们</a></li>
        <li><a href="{:url('admin/adser/lst')}" target="right"><span class="icon-caret-right"></span>广告服务</a></li>
        <!-- <li><a href="{:url('admin/hezuo/lst')}" target="right"><span class="icon-caret-right"></span>商务合作</a></li> -->
        <li><a href="{:url('admin/link/lst')}" target="right"><span class="icon-caret-right"></span>友情链接</a></li>
        <!-- <li><a href="{:url('admin/webq/lst')}" target="right"><span class="icon-caret-right"></span>网站建议</a></li> -->
    </ul>


	<h2><span class="icon-pencil-square-o"></span>视频专区</h2>
    <ul>
        <li><a href="{:url('admin/video/lst')}" target="right"><span class="icon-caret-right"></span>视频列表</a></li>
    </ul>


    <h2><span class="icon-pencil-square-o"></span>政务快讯</h2>
    <ul>
        <li><a href="{:url('admin/jour/lst')}" target="right"><span class="icon-caret-right"></span>新闻列表</a></li>
    </ul>

    <h2><span class="icon-pencil-square-o"></span>公告通知</h2>
    <ul>
        <li><a href="{:url('admin/nots/lst')}" target="right"><span class="icon-caret-right"></span>公告列表</a></li>
    </ul>
     <!--<h2><span class="icon-pencil-square-o"></span>课堂》问题管理</h2>-->
    <!--<ul>-->
        <!--<li><a href="{:url('admin/question/lst')}" target="right"><span class="icon-caret-right"></span>问题管理</a></li>-->

    <!--</ul>-->

    <!--<h2><span class="icon-pencil-square-o"></span>通知公告</h2>-->
    <!--<ul>-->
         <!--<li><a href="{:url('admin/authority/lst')}" target="right"><span class="icon-caret-right"></span>权威发布</a></li>-->
    <!--</ul>-->


    <h2><span class="icon-pencil-square-o"></span>广告轮播</h2>
    <ul>
        <li><a href="{:url('admin/banner/lst')}" target="right"><span class="icon-caret-right"></span>广告位置</a></li>
        <li><a href="{:url('admin/banneritem/lst')}" target="right"><span class="icon-caret-right"></span>位置详情</a></li>
    </ul>
    <h2><span class="icon-pencil-square-o"></span>留言管理</h2>
    <ul>
        <li><a href="{:url('admin/message/index')}" target="right"><span class="icon-caret-right"></span>留言列表</a></li>
        <!-- <li><a href="{:url('admin/banneritem/lst')}" target="right"><span class="icon-caret-right"></span>位置详情</a></li> -->
    </ul>
</div>
<script type="text/javascript">
$(function(){
  $(".leftnav h2").click(function(){
	  $(this).next().slideToggle(200);	
	  $(this).toggleClass("on"); 
  })
  $(".leftnav ul li a").click(function(){
	    $("#a_leader_txt").text($(this).text());
  		$(".leftnav ul li a").removeClass("on");
		$(this).addClass("on");
  })
});

$('#clearCache').click(function(){
    $.ajax({
        type : "GET",
        url : "{:url('admin/login/clearCache')}",
        success:function (data) {
            if(data == true){
                alert('清除缓存成功!');
            }else{
                alert('清除缓存失败!');
            }
        },
        error:function () {

        }
    })
})

</script>
<ul class="bread">
  <li><a href="{:url('admin/index/index')}" target="right" class="icon-home"> 首页</a></li>
  <li><a href="##" id="a_leader_txt">网站信息</a></li>
</ul>
<div class="admin" id="link">
  <iframe scrolling="auto" rameborder="0" src="{:url('admin/index/admininfo')}" name="right" width="100%" height="100%"></iframe>
</div>
<div style="text-align:center;">
</div>
</body>
</html>